@layout("/common/_container.html"){
<div class="row">
	<div class="col-sm-12">
		<div class="ibox float-e-margins">
			<div class="ibox-title">
				<h5>商品属性管理</h5>
			</div>
			<div class="ibox-content">
				<div class="row row-lg">
					<div class="col-sm-12">
						<div class="row">
							<div class="col-sm-3">
								<#SelectCon id="goods1" name="商品分类" >
								<option id="goodscats1" value="">请选择</option>
								</#SelectCon>
							</div>
							<div class="col-sm-3">
								<#SelectCon id="goods2" name="二级分类" >
								<option id="goodscats2" value="">请选择</option>
								</#SelectCon>
							</div>
							<div class="col-sm-3">
								<#SelectCon id="goods3" name="三级分类" >
								<option id="goodscats3" value="">请选择</option>
								</#SelectCon>

							</div>
							<!-- <div class="col-sm-3">
								<#SelectCon id="goods" name="" >
								<option id="goodscats4" value="">请选择商品</option>
								</#SelectCon>

							</div> -->
							<div class="col-sm-3"><#NameCon id="attrName" name="属性名称" placeholder="属性名称" />
							</div>
							<div class="col-sm-3"><#button name="搜索" icon="fa-search"
								clickFun="Attributes.search()"/>
								@if(shiro.hasPermission("/attributes/add")){
								<#button name="添加" icon="fa-plus" clickFun="Attributes.openAddAttributes()"/>
								@}
								@if(shiro.hasPermission("/attributes/update")){
								<#button name="修改" icon="fa-edit"
								clickFun="Attributes.openAttributesDetail()" space="true"/>
								@}
								@if(shiro.hasPermission("/attributes/delete")){
								<#button name="删除" icon="fa-remove" clickFun="Attributes.delete()" space="true"/>
								@}
							</div>
						</div>
						<div class="hidden-xs" id="AttributesTableToolbar" role="group">

							</div>
						<#table id="AttributesTable"/>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
<script src="${ctxPath}/static/modular/huamao/attributes/attributes.js"></script>
<script src="${ctxPath}/static/modular/huamao/public/goodscats.js"></script>

@}
